package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SupplierDao {

    List<Supplier> getSupplierList(@Param("offSet") Integer offSet,
                                @Param("rows") Integer rows,
                                @Param("supplierName") String supplierName);


    void updateSupplier(Supplier supplier);

    void saveSupplier(Supplier supplier);

    void deleteSupplier(String id);
}
